import request from '@/utils/request'
import type { SkuResponseData } from './type'

enum API {
  GETSKUINFOBYPAGE_URL = '/admin/product/list/',
}

// 分页获取SKU数据
export const getSkuInfoListByPageApi = (page: number, pageSize: number) =>
  request.get<any, SkuResponseData>(API.GETSKUINFOBYPAGE_URL + `${page}/${pageSize}`)
